import 'package:boss/color_constant.dart';
import 'package:boss/ui/widget/shadow_radius_card.dart';
import 'package:hi_common/hi_common.dart';
import 'package:flutter/material.dart';

class PersonalSettingLoginOutBtn extends StatelessWidget {
  final VoidCallback onTap;

  const PersonalSettingLoginOutBtn({Key key, this.onTap}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: onTap,
      child: ShadowRadiusCard(
        margin: EdgeInsets.only(
          top: 90.w,
          bottom: 90.w,
        ),
        height: 90.w,
        alignment: Alignment.center,
        child: Text(
          '退出登录',
          style: TextStyle(
            fontSize: 34.sp,
            color: ColorConstant.ff33,
            fontWeight: FontWeight.w500,
          ),
        ),
      ),
    );
  }
}
